<?php
require './curl.php';
// https://www.bilibili.com/bangumi/media/md28223043/
// https://bangumi.bilibili.com/view/web_api/season?season_id=5398
// https://api.bilibili.com/pgc/web/season/section?season_id=27959
$id=$_GET["id"];
$data = curl_get_contents("https://api.bilibili.com/pgc/web/season/section?season_id=".$id);
echo $data;
?>